package com.dragon.modules.yuegou.model.member;

import com.dragon.modules.yuegou.entity.member.MemberRoomEntity;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 会员房屋关系表模型类
 * 
 * @author pbuilder generated
 * @date 2020-08-13 15:47:15
 * @company sgy
 * @version 2.0
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class MemberRoom extends MemberRoomEntity {

	/**
	 * 构造一个空会员房屋关系表模型对象
	 */
	public MemberRoom(){
		super();
	}
	
	/**
	 * 依据实体对象的信息构造一个会员房屋关系表模型对象
	 * 
	 * @param entity 实体对象
	 */
	public MemberRoom(MemberRoomEntity entity){
		super(entity);
	}

	/**
	 * 依据其它对象的信息构造一个会员房屋关系表模型对象
	 * 
	 * @param other 其它对象
	 */
	public MemberRoom(MemberRoom other){
		super(other);
	}


	@Override
	public String getId() {
    	return id;
    }

    /**
	 * 设置
	 * 
	 * @param id 
	 * @return 当前对象
	 */
    public MemberRoom id(String id) {
    	this.id = id;
    	return this;
    }

	@Override
	public String getMemberId() {
    	return memberId;
    }

    /**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 * @return 当前对象
	 */
    public MemberRoom memberId(String memberId) {
    	this.memberId = memberId;
    	return this;
    }

	@Override
	public String getRoomId() {
    	return roomId;
    }

    /**
	 * 设置房屋ID
	 * 
	 * @param roomId 房屋ID
	 * @return 当前对象
	 */
    public MemberRoom roomId(String roomId) {
    	this.roomId = roomId;
    	return this;
    }

	@Override
	public String getRoomName() {
    	return roomName;
    }

    /**
	 * 设置房屋名称
	 * 
	 * @param roomName 房屋名称
	 * @return 当前对象
	 */
    public MemberRoom roomName(String roomName) {
    	this.roomName = roomName;
    	return this;
    }

	@Override
	public String getProjectId() {
    	return projectId;
    }

    /**
	 * 设置项目ID
	 * 
	 * @param projectId 项目ID
	 * @return 当前对象
	 */
    public MemberRoom projectId(String projectId) {
    	this.projectId = projectId;
    	return this;
    }

	@Override
	public String getProjectName() {
    	return projectName;
    }

    /**
	 * 设置项目名称
	 * 
	 * @param projectName 项目名称
	 * @return 当前对象
	 */
    public MemberRoom projectName(String projectName) {
    	this.projectName = projectName;
    	return this;
    }

	@Override
	public String getBuildingId() {
    	return buildingId;
    }

    /**
	 * 设置楼栋ID
	 * 
	 * @param buildingId 楼栋ID
	 * @return 当前对象
	 */
    public MemberRoom buildingId(String buildingId) {
    	this.buildingId = buildingId;
    	return this;
    }

	@Override
	public String getBuildingName() {
    	return buildingName;
    }

    /**
	 * 设置楼栋名称
	 * 
	 * @param buildingName 楼栋名称
	 * @return 当前对象
	 */
    public MemberRoom buildingName(String buildingName) {
    	this.buildingName = buildingName;
    	return this;
    }

	@Override
	public String getFloorId() {
    	return floorId;
    }

    /**
	 * 设置楼层ID
	 * 
	 * @param floorId 楼层ID
	 * @return 当前对象
	 */
    public MemberRoom floorId(String floorId) {
    	this.floorId = floorId;
    	return this;
    }

	@Override
	public String getFloorName() {
    	return floorName;
    }

    /**
	 * 设置楼层名称
	 * 
	 * @param floorName 楼层名称
	 * @return 当前对象
	 */
    public MemberRoom floorName(String floorName) {
    	this.floorName = floorName;
    	return this;
    }
}
